home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
bbsdoors
/
prom216.zip
/
SEND_Z.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-05-30
|
3KB
|
92 lines
@ECHO OFF
::
::┌──────────────────────────────────────────┐
::│ Parameters that are passed to batch file │
::└──────────────────────────────────────────┘
::
:: %1 = COM Port (Such as 1 or 2) Can be used with DSZ port command
::
:: %2 = Caller Connect Speed Like '2400' if not Locked
:: or
:: %2 = Locked Baud Rate Like: '19200' if Locked
::
:: %3 = Full path+filename to file being Downloaded Like: 'L:\001A\FILE.ZIP'
::
:: %4 = Time remaining this call
::
:: %5 = Actual Baud Rate
::
::┌─────────────────────────────────────────┐
::│ Switches for use with Optional PonyTRAN │
::└─────────────────────────────────────────┘
::
:: /B BaudRate Baudrate
:: /C # Comport name [default = 1]
:: /T Transmit mode [default]
:: /R Receive mode
:: /S ASCII transfer
:: /X Xmodem/XmodemCRC [default]
:: /K Xmodem1K
:: /L Xmodem1KG
:: /Y Ymodem
:: /G YmodemG
:: /Z Zmodem
:: /A Zmodem option - resume interrupted transfer
:: /O Zmodem option - always overwrite files
:: /N Zmodem option - only overwrite if newer
:: /F Kermit
::
::┌───────────────────────────────────────────────────┐
::│ For Standard Ports using optional PONYTRAN ZModem │
::└───────────────────────────────────────────────────┘
PONYTRAN /C %1 /B %5 /T /Z /O %3
::
::
::┌─────────────────────────────────────┐
::│ For Standard Ports using DSZ ZModem │
::└─────────────────────────────────────┘
:: DSZ port %1 sz %3
::
::
::┌─────────────────────────────────────┐
::│ For Standard Ports using GSZ ZModem │
::└─────────────────────────────────────┘
:: GSZ port %1 sz %3
::
::
::┌────────────────────────────────────────────────────────────────────┐
::│ For Non-Standard Ports you need to use DSZ INSTEAD of PonyTran │
::│ and make sure you have a NSPORT.### file setup for THAT NODE! │
::│ This example sets up ALL Nodes as Standard and Node2 as Com3, Irq5 │
::│ You will have to setup this format for ANY & ALL SEND_?.BAT's │
::└────────────────────────────────────────────────────────────────────┘
:: if %WCMDM% == node2.mdm GOTO ODD
::
:: REM IF NOT NON-STANDARD USE PONYTRAN
:: PONYTRAN /C %1 /B %5 /T /Z /O %3
:: GOTO END
::
:: REM IF NON-STANDARD THEN ONLY DSZ AVAILABLE!
:: :ODD
:: DSZ port3 03e8,5 sz %3
:: :END
::
::
::┌────────────────────────────────────────────────────────────────────┐
::│ For Non-Standard Ports you need to use GSZ INSTEAD of PonyTran │
::│ and make sure you have a NSPORT.### file setup for THAT NODE! │
::│ This example sets up ALL Nodes as Standard and Node2 as Com3, Irq5 │
::│ You will have to setup this format for ANY & ALL SEND_?.BAT's │
::└────────────────────────────────────────────────────────────────────┘
:: if %WCMDM% == node2.mdm GOTO ODD
::
:: REM IF NOT NON-STANDARD USE PONYTRAN
:: PONYTRAN /C %1 /B %5 /T /Z /O %3
:: GOTO END
::
:: REM IF NON-STANDARD THEN ONLY DSZ AVAILABLE!
:: :ODD
:: GSZ port3 03e8,5 sz %3
:: :END